Version

CustomListSortCondition Constructor(SortDirection,String[])

Creates a new CustomListSortCondition instance.
Syntax
'Declaration
 
Public Function New( _
   ByVal sortDirection As SortDirection, _
   ByVal ParamArray list() As System.String _
)
public CustomListSortCondition( 
   SortDirection sortDirection,
   params System.string[] list
)

Parameters

sortDirection
The direction with which to sort the data.
list
The list of values in the order in which they should be sorted.
Exceptions
ExceptionDescription
System.ComponentModel.InvalidEnumArgumentExceptionsortDirection is not defined in the SortDirection enumeration.
Remarks

When the sort direction is ascending, the data range is sorted with the cells in the custom list appearing first, in the order they appear in the list, followed by the other cells in the same relative order they had to each other before the sort. When the sort direction is descending, the cells not in the list will appear first in the data region and they will appear in the same relative order they had before the sort. They will be followed by the other cells in the reverse order of the list.

Requirements

Target Platforms: Windows 8.1, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

View on GitHub